// Copyright (c) Amer Koleci and Contributors.
// Licensed under the MIT License (MIT). See LICENSE in the repository root for more information.

using static JoltPhysicsSharp.JoltApi;

namespace JoltPhysicsSharp;

public sealed class BroadPhaseLayerInterfaceMask(uint numBroadPhaseLayers) : BroadPhaseLayerInterface(JPH_BroadPhaseLayerInterfaceMask_Create(numBroadPhaseLayers))
{
    public void ConfigureLayer(in BroadPhaseLayer broadPhaseLayer, uint groupsToInclude, uint groupsToExclude)
    {
        JPH_BroadPhaseLayerInterfaceMask_ConfigureLayer(Handle, in broadPhaseLayer, groupsToInclude, groupsToExclude);
    }
}
